import request from '@/utils/request';

export async function reqTyOrderList(data: any, options?: any): Promise<any> {
	return request('/api/sys/tyOrder/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/tyOrder/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/tyOrder/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/tyOrder/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


